<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>UR Search</title>
    <script src="js/jquery_min.js"></script>
</head>

<body>
    <div style="height: 680px; width: 1300px; align-items: center; text-align: center; user-select: none;">
        <div>
            <img src="img/logo.png" style="width: 200px; height: 100px; margin-top: 200px; margin-left: 100px;">
        </div>
        <input id="str" placeholder="Searching for..."
            style="margin-top: 0px; width: 700px; height: 40px; border-radius: 20px; font-size: large; padding-left: 20px; margin-left: 120px;">
        <img src="img/R-C.jpg" style="width: 50px; height: 50px; margin-bottom: -20px;cursor: pointer;" onclick="search()">
    </div>
    <div style="text-align: center;">
        <hr>
        <p style="color: grey;">Search Engine for Java8 Doucument.</p>
        <svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" fill="currentColor" class="bi bi-github"
            viewBox="0 0 16 16" onclick="location.href='https://gitee.com/liu-Nox' " style="width: 60px;">
            <path
                d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z" />
        </svg>
        <svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" fill="currentColor" class="bi bi-bootstrap-fill"
            viewBox="0 0 16 16" onclick="location.href='https://blog.csdn.net/lzhNox?type=blog'">
            <path
                d="M6.375 7.125V4.658h1.78c.973 0 1.542.457 1.542 1.237 0 .802-.604 1.23-1.764 1.23H6.375zm0 3.762h1.898c1.184 0 1.81-.48 1.81-1.377 0-.885-.65-1.348-1.886-1.348H6.375v2.725z" />
            <path
                d="M4.002 0a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4h-8zm1.06 12V3.545h3.399c1.587 0 2.543.809 2.543 2.11 0 .884-.65 1.675-1.483 1.816v.1c1.143.117 1.904.931 1.904 2.033 0 1.488-1.084 2.396-2.888 2.396H5.062z" />
        </svg>
    </div>
</body>
<script>
    function search() {
        let str=document.getElementById('str');
        if(str.value=="") {
            alert("请输入要搜索的内容！");
            return;
        }
        location.href="list.html?str="+str.value;
    }
</script>
</html>